Small procedure to dial a phone number from the current record in Fourth Dimension. Assumes the phone number is in the field [Customers]PhoneNo, and that a button, named Dialer, has been pressed. This is a "quick and dirty" routine. Full user interface and error-checking will be posted later with the sample database "The Real Computer Store." Stay tuned....
If (Dialer=1)
SET CHANNEL(1;94+3072+16384+0)
dialstring:="ATDT"
If (Length([Customers]PhoneNo)>8) `Allows for a dash in phone number